﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LdtJudge.DataEngine.Model
{
    /// <summary>
    /// 模块解析类
    /// </summary>
    public class ConfigStateModel
    {
        /// <summary>
        /// 解析类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 执行类型
        /// </summary>
        public string executetype { get; set; }
        /// <summary>
        /// DLL路径
        /// </summary>
        public string executefile { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 中文名称
        /// </summary>
        public string zh_cn { get; set; }
        /// <summary>
        /// 执行编号
        /// </summary>
        public string executecode { get; set; }
        ///// <summary>
        ///// 执行序号
        ///// </summary>
        //public double number { get; set; }

        /// <summary>
        /// 执行序号
        /// </summary>
        public string number { get; set; }

        private List<ConfigDetail> _ConfigDetailList { get; set; }

        /// <summary>
        /// 配置项
        /// </summary>
        public List<ConfigDetail> ConfigDetailList
        {
            get { return _ConfigDetailList; }
            set { _ConfigDetailList = value; }
        }
    }


    public class ConfigRootModel
    {
        public string type { get; set; }

        public string mlflag { get; set; }

        public List<ConfigStateModel> configStateModelList = new List<ConfigStateModel>();

    }
}
